From 20b5981cdec5d93a451ba2dcef327b4b5c9f8839 Mon Sep 17 00:00:00 2001 From: Alastair Tse Date: Tue, 3 Oct 2006 10:48:07 +0100 Subject: [PATCH] [XM] Fix missing security check in block-attach This patch fixes an indentation error in main.py. The effect of this bug is that block-attach does not check labels if the ACM is active. This bug slipped in with change set 11572_:_ ad22c711ccb7 . Signed-off by: Reiner Sailer --- tools/python/xen/xm/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xm/main.py b/tools/python/xen/xm/main.py index 19126e7271..1fb4cc2061 100644 --- a/tools/python/xen/xm/main.py +++ b/tools/python/xen/xm/main.py @@ -1222,7 +1222,7 @@ def parse_block_configuration(args): label = security.get_security_printlabel(dominfo) else: label = None - security.res_security_check(args[1], label) + security.res_security_check(args[1], label) return (dom, vbd) -- 2.30.2